#include<stdio.h>
#include<conio.h>
void main()
{
	int a,n,total = 0;
	clrscr();

	printf("\n\n\t\tEnter the any Number: ");
	scanf("%d",&n);

	total = n;
	a = n;

	while(n > 1)
	{
		n--;

		total = total * n;

	}
	printf("\n\tThe Factorial Value of %d is = %d",a,total);

	getch();
}
